//more.js
//获取应用实例
var api = require('../../../config/api.js');
var util = require('../../../utils/util.js');
const app = getApp()


Page({

  //页面的初始数据
  data: {
    moreLists:{}
  },
  //更多页加载
  moreList:function(){
    let that=this
    util.request(api.MoreUrl).then(function(res){
      if(res.data.code == 200){
        that.setData({
          moreLists: res.data.data
        })
      }
    })
  },
  //生命周期函数--监听页面加载
  onLoad: function (options) {
    this.moreList()
  }
})
